package edu.nwpu.zya.coreops.modules.job.service.impl;

import edu.nwpu.zya.coreops.modules.job.dao.JobAppRelationDao;
import edu.nwpu.zya.coreops.modules.job.entity.JobAppRelationEntity;
import edu.nwpu.zya.coreops.modules.job.service.JobAppRelationService;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import edu.nwpu.zya.coreops.common.utils.PageUtils;
import edu.nwpu.zya.coreops.common.utils.Query;




@Service("jobAppRelationService")
public class JobAppRelationServiceImpl extends ServiceImpl<JobAppRelationDao, JobAppRelationEntity> implements JobAppRelationService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<JobAppRelationEntity> page = this.page(
                new Query<JobAppRelationEntity>().getPage(params),
                new QueryWrapper<JobAppRelationEntity>()
        );

        return new PageUtils(page);
    }

}